package com.internship.model;


public class JobStudent {
	// 学号
	private String XH;
	// 姓名
	private String XM;
	//院系名称
	private String XY;
	private String XZB;//班级名称
	
	private int Status;//实习类型
	//岗位ID
	private int JobId;
	private String JobName;
	
	private int PracticeEnterprise;
	private String EnterpriseName;
	
	private String SchoolTeacher;
	private String schTeacherName;
	
	private String EnterTeacherId;
	private String EnterTeacherName;
	private String EnterTeacherPhone;
	private String theAddress;
	private String StartTime;
	private String EndTime;
	
	private String ZYDM;//专业代码
	private int DQSZJ;//所在年级
	private String LXDH;
	private String Memo;
	private String homeAddress;
	
	private int firstEnterpriseId;
	private int secondEnterpriseId;
	private String firstEnterpriseName;
	private String secondEnterpriseName;
	private String firstStartTime;
	private String firstEndTime;
	private String secondStartTime;
	private String secondEndTime;
	private String XYDM;
	private int theSchoolCount;
	private int upgradedBookCount;
	private int selfSeekingCount;
	private int entrepreneurshipCount;
	private int schoolAssignmentCount;
	public String getXYDM() {
		return XYDM;
	}
	public void setXYDM(String xYDM) {
		XYDM = xYDM;
	}
	public String getZYDM() {
		return ZYDM;
	}
	public void setZYDM(String zYDM) {
		ZYDM = zYDM;
	}
	public int getDQSZJ() {
		return DQSZJ;
	}
	public void setDQSZJ(int dQSZJ) {
		DQSZJ = dQSZJ;
	}
	
	public String getMemo() {
		return Memo == null ? "" : Memo;
	}
	public void setMemo(String memo) {
		Memo = memo;
	}
	public String getJobName() {
		return JobName == null ? "" : JobName;
	}
	public void setJobName(String jobName) {
		this.JobName = jobName;
	}
	public String getEnterpriseName() {
		return EnterpriseName == null ? "" : EnterpriseName;
	}
	public void setEnterpriseName(String enterpriseName) {
		this.EnterpriseName = enterpriseName;
	}
	public String getSchTeacherName() {
		return schTeacherName == null ? "" : schTeacherName;
	}
	public void setSchTeacherName(String schTeacherName) {
		this.schTeacherName = schTeacherName;
	}
	
	public String getXH() {
		return XH;
	}
	public void setXH(String xH) {
		XH = xH;
	}
	public String getXM() {
		return XM;
	}
	public void setXM(String xM) {
		XM = xM;
	}
	public int getJobId() {
		return JobId;
	}
	public void setJobId(int jobId) {
		JobId = jobId;
	}
	public String getStatusName() {
		switch(Status) {
		case 0:
			return "在校";
		case 1:
			return "自主创业";
		case 2:
			return "专升本";
		case 3:
			return "自寻企业实习";
		case 4:
			return "学校分配企业";
		}
		return "在校";
	}
	public int getStatus() {
		return Status;
	}
	public void setStatus(int status) {
		Status = status;
	}
	public int getPracticeEnterprise() {
		return PracticeEnterprise;
	}
	public void setPracticeEnterprise(int practiceEnterprise) {
		PracticeEnterprise = practiceEnterprise;
	}
	public String getSchoolTeacher() {
		return SchoolTeacher;
	}
	public void setSchoolTeacher(String schoolTeacher) {
		SchoolTeacher = schoolTeacher;
	}
	public String getEnterTeacherName() {
		return EnterTeacherName;
	}
	public void setEnterTeacherName(String enterTeacherName) {
		EnterTeacherName = enterTeacherName;
	}
	public String getEnterTeacherPhone() {
		return EnterTeacherPhone == null ? "" : EnterTeacherPhone;
	}
	public void setEnterTeacherPhone(String enterTeacherPhone) {
		EnterTeacherPhone = enterTeacherPhone;
	}

	public String getEnterTeacherInfo() {
		return (EnterTeacherName == null || EnterTeacherName.trim().length() == 0) ? ""
				: ((EnterTeacherPhone == null || EnterTeacherPhone.trim().length() == 0) ? EnterTeacherName
						: EnterTeacherName + "(" + EnterTeacherPhone + ")");
	}
	public String getPracticeTime() {
		return StartTime == null ? "" : (StartTime + " 至 " + EndTime);
	}
	public String getStartTime() {
		return StartTime;
	}
	public void setStartTime(String startTime) {
		StartTime = startTime;
	}
	public String getEndTime() {
		return EndTime;
	}
	public void setEndTime(String endTime) {
		EndTime = endTime;
	}
	public String toString() {
		return XH + XM + ", Status=" + Status + ", JobId=" + JobId + ", EnterpriseId=" + PracticeEnterprise;
	}
	public String getXY() {
		return XY;
	}
	public void setXY(String xY) {
		XY = xY;
	}
	public String getLXDH() {
		return LXDH==null?"":LXDH;
	}
	public void setLXDH(String lXDH) {
		LXDH = lXDH;
	}
	
	public String getXZB() {
		return XZB==null?"":XZB;
	}
	public void setXZB(String xZB) {
		XZB = xZB;
	}
	public String getEnterTeacherId() {
		return EnterTeacherId;
	}
	public void setEnterTeacherId(String enterTeacherId) {
		EnterTeacherId = enterTeacherId;
	}
	public String getSecondEndTime() {
		return secondEndTime;
	}
	public void setSecondEndTime(String secondEndTime) {
		this.secondEndTime = secondEndTime;
	}
	public String getSecondStartTime() {
		return secondStartTime;
	}
	public void setSecondStartTime(String secondStartTime) {
		this.secondStartTime = secondStartTime;
	}
	public int getFirstEnterpriseId() {
		return firstEnterpriseId;
	}
	public void setFirstEnterpriseId(int firstEnterpriseId) {
		this.firstEnterpriseId = firstEnterpriseId;
	}
	public int getSecondEnterpriseId() {
		return secondEnterpriseId;
	}
	public void setSecondEnterpriseId(int secondEnterpriseId) {
		this.secondEnterpriseId = secondEnterpriseId;
	}
	public String getFirstEnterpriseName() {
		return firstEnterpriseName==null?"":firstEnterpriseName;
	}
	public void setFirstEnterpriseName(String firstEnterpriseName) {
		this.firstEnterpriseName = firstEnterpriseName;
	}
	public String getSecondEnterpriseName() {
		return secondEnterpriseName==null?"":secondEnterpriseName;
	}
	public void setSecondEnterpriseName(String secondEnterpriseName) {
		this.secondEnterpriseName = secondEnterpriseName;
	}
	public String getFirstStartTime() {
		return firstStartTime;
	}
	public void setFirstStartTime(String firstStartTime) {
		this.firstStartTime = firstStartTime;
	}
	public String getFirstEndTime() {
		return firstEndTime;
	}
	public void setFirstEndTime(String firstEndTime) {
		this.firstEndTime = firstEndTime;
	}
	public String getStartPracticeDate() {
		if(firstStartTime != null)
			return firstStartTime;
		if(secondStartTime != null)
			return secondStartTime;
		return StartTime;
	}
	public String getHomeAddress() {
		return homeAddress;
	}
	public void setHomeAddress(String homeAddress) {
		this.homeAddress = homeAddress;
	}
	public String getTheAddress() {
		return theAddress;
	}
	public void setTheAddress(String theAddress) {
		this.theAddress = theAddress;
	}
	public int getTheSchoolCount() {
		return theSchoolCount;
	}
	public void setTheSchoolCount(int theSchoolCount) {
		this.theSchoolCount = theSchoolCount;
	}
	public int getUpgradedBookCount() {
		return upgradedBookCount;
	}
	public void setUpgradedBookCount(int upgradedBookCount) {
		this.upgradedBookCount = upgradedBookCount;
	}
	public int getSelfSeekingCount() {
		return selfSeekingCount;
	}
	public void setSelfSeekingCount(int selfSeekingCount) {
		this.selfSeekingCount = selfSeekingCount;
	}
	public int getEntrepreneurshipCount() {
		return entrepreneurshipCount;
	}
	public void setEntrepreneurshipCount(int entrepreneurshipCount) {
		this.entrepreneurshipCount = entrepreneurshipCount;
	}
	public int getSchoolAssignmentCount() {
		return schoolAssignmentCount;
	}
	public void setSchoolAssignmentCount(int schoolAssignmentCount) {
		this.schoolAssignmentCount = schoolAssignmentCount;
	}
	
}
